import Vue from 'vue'

import '@/assets/styles/index.scss' // global css
import '@/element' // 按需引入elementUI
import App from './App'
import store from './store'
import router from './router'
import './router/permission'
import '@/utils/filters' // 全局过滤器
import '@/utils/components' // 全局组件
import './assets/icons' // icon

import validator from '@/utils/validator'

Vue.prototype.$validator = validator

Vue.config.productionTip = false // 消除vue提示

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
